![]() |
PATH![]() |
![]() ![]() |
Quit is an application command that terminates an application. If no optional parameters are specified, the Quit command has the same result as choosing the Quit menu item in the application.
The first example below causes the application to quit without saving any modified documents. The second example asks before saving any modified documents.
tell application "AppleWorks"
quit saving no
end tell
quit application "AppleWorks" saving ask